import request from '@/utils/request'

export const LogApi = {
    /**
     *  管理员列表
     * @returns
     */
    getPage: (data) => {
        return request({
            url: '/manage/system/log/getPage',
            data,
            method: 'post'
        })
    },
    /**
     *  日志详情
     * @returns
     */
    getInfoById: (logId) => {
        return request({
            url: '/manage/system/log/getInfoById',
            params: {logId},
            method: 'get'
        })
    },
    /**
     *  日志业务类型
     * @returns
     */
    getBizTypeEnumList: () => {
        return request({
            url: '/manage/system/log/getBizTypeEnumList',
            method: 'get'
        })
    }
}
